package reflect;

@AutoRunClass
public class Student {

    public void study(){
        System.out.println("学生:好好学习,天天向上!");
    }

    public void playGame(){
        System.out.println("学生:上课偷偷玩游戏,希望老师没看见!");
    }

    @AutoRun(5)
    public void doHomeWork(){
        System.out.println("学生:拼命写作业!");
    }

    @AutoRun
    public void sing(){
        System.out.println("学生:唱歌~");
    }

}
